home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 4
/
Meeting Pearls Vol. IV (1996)(GTI - Schatztruhe)[!].iso
/
Pearls
/
dev
/
Language
/
ace
/
include
/
Exec
/
devices.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-10-07
|
1KB
|
60 lines
#ifndef EXEC_DEVICES_H
#define EXEC_DEVICES_H 1
/*
** devices.h for ACE Basic
**
** Note: Translated to ACE by ConvertC2ACE
** @ MapMeadow Software, Nils Sjoholm
**
**
** Date: 09/02/95
**
**
*/
/*
** This are the StructPointer defines for devices.h
*/
#ifndef DevicePtr
#define DevicePtr ADDRESS
#endif
#ifndef UnitPtr
#define UnitPtr ADDRESS
#endif
/*
** End of StructPointer defines for devices.h
*/
#ifndef EXEC_LIBRARIES_H
#include <exec/libraries.h>
#endif /* EXEC_LIBRARIES_H */
#ifndef EXEC_PORTS_H
#include <exec/ports.h>
#endif /* EXEC_PORTS_H */
/****** Device ******************************************************/
STRUCT Device
_Library dd_Library
END STRUCT
/****** Unit ********************************************************/
STRUCT Unit
MsgPort unit_MsgPort /* queue for unprocessed messages */
/* instance of msgport is recommended */
BYTE unit_flags
BYTE unit_pad
SHORTINT unit_OpenCnt /* number of active opens */
END STRUCT
#define UNITF_ACTIVE (1)
#define UNITF_INTASK (2)
#endif /* EXEC_DEVICES_H */